//
//  LJFHttpManager.h
//  SevenZhou
//
//  Created by qianfeng on 15/9/14.
//  Copyright (c) 2015年 ljf. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "Connector.h"
#import <UIKit/UIKit.h>

typedef void(^HttpRequestSuccess)(id responseObj);
typedef void(^HttpRequestFialure)(NSError *error);

@interface LJFHttpManager : NSObject

+ (instancetype)shareInstance;

- (void)getDataFromNetWithUrl:(NSString *)urlString AndParameterStr:(NSString *)parameter success:(HttpRequestSuccess)success failure:(HttpRequestFialure)failure;

- (void)getDataFromNetWithUrl:(NSString *)urlString AndParameterStr:(NSString *)parameter andIdString:(NSString *)idStr success:(HttpRequestSuccess)success failure:(HttpRequestFialure)failure;

- (void)getDataFromNetWithUrl:(NSString *)urlString AndParameterStr:(NSString *)parameter andIdString:(NSString *)idStr andPage:(int)page success:(HttpRequestSuccess)success failure:(HttpRequestFialure)failure;

- (void)getDataFromNetWithUrl:(NSString *)urlString success:(HttpRequestSuccess)success failure:(HttpRequestFialure)failure;


@end
